import axios from "axios";
//封装axios
axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
//创建axios实例 this.$axios.post, service.post
const service = axios.create({
    //axios中请求配置baseURL选项,表示请求URL公共部分
    //baseURL: process .env.VUE APP BASE API，
    baseURL:'http:/localhost:8090',
    //超时
    timeout: 10000,
})